
#ifndef		_LT9211_H
#define		_LT9211_H

//////////////////////LT9211 Config////////////////////////////////
#define _Input_PortA_
//#define _Input_PortB_

typedef enum VIDEO_INPUTMODE_ENUM
{
    Input_RGB888,
    Input_YCbCr444,
    Input_YCbCr422_16BIT
}
_Video_Input_Mode;

#define Video_Input_Mode  Input_RGB888


//#define lvds_format_JEIDA

//#define lvds_sync_de_only


//////////option for debug///////////


typedef struct video_timing{
u16 hfp;
u16 hs;
u16 hbp;
u16 hact;
u16 htotal;
u16 vfp;
u16 vs;
u16 vbp;
u16 vact;
u16 vtotal;
u32 pclk_khz;
};

typedef struct Timing{
u16 hfp;
u16 hs;
u16 hbp;
u16 hact;
u16 htotal;
u16 vfp;
u16 vs;
u16 vbp;
u16 vact;
u16 vtotal;
u32 pclk_khz;
};
typedef enum VideoFormat
{
	  video_1280x720_60Hz_vic=1,
	  video_1366x768_60Hz_vic,
	  video_1280x1024_60Hz_vic,
    video_1920x1080_60Hz_vic,
	  video_1920x1200_60Hz_vic,
    video_none
};

typedef struct Lane_No{
u8	swing_high_byte;
u8	swing_low_byte;
u8	emph_high_byte;
u8	emph_low_byte;
};

extern void	LT9211_Config(void);

#endif